package com.bnyy.health.bean;

import java.io.Serializable;

/**
 * Author : 关炳鹏
 * Description : 血压报告
 * Date : 2021/12/8
 **/
public class BloodPressReport implements Serializable {

    private BloodPressDetail.Avg blood_press_avg;
    private Range blood_press_range;
    private Load blood_press_load;
    private Rhythm blood_press_rhythm;
    private Cov blood_press_cov;
    private MorningBloodPress blood_press_morning;
    private HeartRate heart_rate;
    private BaseInfo base_info;

    public BloodPressDetail.Avg getBlood_press_avg() {
        return blood_press_avg;
    }

    public void setBlood_press_avg(BloodPressDetail.Avg blood_press_avg) {
        this.blood_press_avg = blood_press_avg;
    }

    public Range getBlood_press_range() {
        return blood_press_range;
    }

    public void setBlood_press_range(Range blood_press_range) {
        this.blood_press_range = blood_press_range;
    }

    public Load getBlood_press_load() {
        return blood_press_load;
    }

    public void setBlood_press_load(Load blood_press_load) {
        this.blood_press_load = blood_press_load;
    }

    public Rhythm getBlood_press_rhythm() {
        return blood_press_rhythm;
    }

    public void setBlood_press_rhythm(Rhythm blood_press_rhythm) {
        this.blood_press_rhythm = blood_press_rhythm;
    }

    public Cov getBlood_press_cov() {
        return blood_press_cov;
    }

    public void setBlood_press_cov(Cov blood_press_cov) {
        this.blood_press_cov = blood_press_cov;
    }

    public MorningBloodPress getBlood_press_morning() {
        return blood_press_morning;
    }

    public void setBlood_press_morning(MorningBloodPress blood_press_morning) {
        this.blood_press_morning = blood_press_morning;
    }

    public HeartRate getHeart_rate() {
        return heart_rate;
    }

    public void setHeart_rate(HeartRate heart_rate) {
        this.heart_rate = heart_rate;
    }

    public BaseInfo getBase_info() {
        return base_info;
    }

    public void setBase_info(BaseInfo base_info) {
        this.base_info = base_info;
    }

    public static class Range implements Serializable {

        private BloodPressureRange high, low;

        public BloodPressureRange getHigh() {
            return high;
        }

        public void setHigh(BloodPressureRange high) {
            this.high = high;
        }

        public BloodPressureRange getLow() {
            return low;
        }

        public void setLow(BloodPressureRange low) {
            this.low = low;
        }
    }

    public static class Load implements Serializable {

        private Data daytime, night;

        public Data getDaytime() {
            return daytime;
        }

        public void setDaytime(Data daytime) {
            this.daytime = daytime;
        }

        public Data getNight() {
            return night;
        }

        public void setNight(Data night) {
            this.night = night;
        }

        public static class Data implements Serializable {
            float high_rate, low_rate;

            public float getHigh_rate() {
                return high_rate;
            }

            public void setHigh_rate(float high_rate) {
                this.high_rate = high_rate;
            }

            public float getLow_rate() {
                return low_rate;
            }

            public void setLow_rate(float low_rate) {
                this.low_rate = low_rate;
            }
        }
    }

    public static class Rhythm implements Serializable {

        private Data high, low;

        public Data getHigh() {
            return high;
        }

        public void setHigh(Data high) {
            this.high = high;
        }

        public Data getLow() {
            return low;
        }

        public void setLow(Data low) {
            this.low = low;
        }

        public static class Data implements Serializable {
            float rhythm;
            String refer, desc;

            public float getRhythm() {
                return rhythm;
            }

            public void setRhythm(float rhythm) {
                this.rhythm = rhythm;
            }

            public String getRefer() {
                return refer;
            }

            public void setRefer(String refer) {
                this.refer = refer;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }
        }
    }

    public static class Cov implements Serializable {
        private Data total, daytime, night;

        public Data getTotal() {
            return total;
        }

        public void setTotal(Data total) {
            this.total = total;
        }

        public Data getDaytime() {
            return daytime;
        }

        public void setDaytime(Data daytime) {
            this.daytime = daytime;
        }

        public Data getNight() {
            return night;
        }

        public void setNight(Data night) {
            this.night = night;
        }

        public static class Data implements Serializable {
            float high_rate, low_rate;

            public float getHigh_rate() {
                return high_rate;
            }

            public void setHigh_rate(float high_rate) {
                this.high_rate = high_rate;
            }

            public float getLow_rate() {
                return low_rate;
            }

            public void setLow_rate(float low_rate) {
                this.low_rate = low_rate;
            }
        }
    }

    public static class MorningBloodPress implements Serializable {
        private int high_value, low_value;
        private String refer;

        public int getHigh_value() {
            return high_value;
        }

        public void setHigh_value(int high_value) {
            this.high_value = high_value;
        }

        public int getLow_value() {
            return low_value;
        }

        public void setLow_value(int low_value) {
            this.low_value = low_value;
        }

        public String getRefer() {
            return refer;
        }

        public void setRefer(String refer) {
            this.refer = refer;
        }
    }

    public static class HeartRate implements Serializable {
        private Data total, daytime, night;

        public Data getTotal() {
            return total;
        }

        public void setTotal(Data total) {
            this.total = total;
        }

        public Data getDaytime() {
            return daytime;
        }

        public void setDaytime(Data daytime) {
            this.daytime = daytime;
        }

        public Data getNight() {
            return night;
        }

        public void setNight(Data night) {
            this.night = night;
        }

        public static class Data implements Serializable {
            int max, min, avg;

            public int getMax() {
                return max;
            }

            public void setMax(int max) {
                this.max = max;
            }

            public int getMin() {
                return min;
            }

            public void setMin(int min) {
                this.min = min;
            }

            public int getAvg() {
                return avg;
            }

            public void setAvg(int avg) {
                this.avg = avg;
            }
        }
    }

    public static class BaseInfo implements Serializable {
        private String sdt, edt, username, user_img;
        private int measure_count;

        public String getSdt() {
            return sdt;
        }

        public void setSdt(String sdt) {
            this.sdt = sdt;
        }

        public String getEdt() {
            return edt;
        }

        public void setEdt(String edt) {
            this.edt = edt;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getUser_img() {
            return user_img;
        }

        public void setUser_img(String user_img) {
            this.user_img = user_img;
        }

        public int getMeasure_count() {
            return measure_count;
        }

        public void setMeasure_count(int measure_count) {
            this.measure_count = measure_count;
        }
    }
}
